/**
 * Created by Administrator on 2017/10/19.
 */

var mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');

var schema = new mongoose.Schema({
    commentId:String,
    title:String,
    content:String,
    time:String
});
schema.plugin(mongoosePaginate);
var Comment = mongoose.model('Comment', schema,'comments');
module.exports = Comment;
